package cn.com.dycc.party_work.education.entity;

import cn.com.dycc.common.page.TablePublicAttri;

public class Education extends TablePublicAttri {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8419454565337551290L;
	private String education_id;
	private String education_name;
	private String education_flag;	//类别标识
	private String dept_id_send;	//学习发起的党支部ID
	private String date_b;
	private String date_e;
	private String education_des;	//说明
	private String order_id;	//任务ID
	
	private String listAttach; //附件
	
	private String attach;//缩略图
	
	public Education() {
		
	}

	
	
	public Education(String education_id, String education_name, String education_flag, String dept_id_send,
			String date_b, String date_e, String education_des, String order_id, String listAttach, String attach) {
		super();
		this.education_id = education_id;
		this.education_name = education_name;
		this.education_flag = education_flag;
		this.dept_id_send = dept_id_send;
		this.date_b = date_b;
		this.date_e = date_e;
		this.education_des = education_des;
		this.order_id = order_id;
		this.listAttach = listAttach;
		this.attach = attach;
	}

	

	@Override
	public String toString() {
		return "Education [education_id=" + education_id + ", education_name=" + education_name + ", education_flag="
				+ education_flag + ", dept_id_send=" + dept_id_send + ", date_b=" + date_b + ", date_e=" + date_e
				+ ", education_des=" + education_des + ", order_id=" + order_id + ", listAttach=" + listAttach
				+ ", attach=" + attach + "]";
	}



	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((education_id == null) ? 0 : education_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Education other = (Education) obj;
		if (education_id == null) {
			if (other.education_id != null)
				return false;
		} else if (!education_id.equals(other.education_id))
			return false;
		return true;
	}

	
	
	
	public String getAttach() {
		return attach;
	}



	public void setAttach(String attach) {
		this.attach = attach;
	}



	public String getListAttach() {
		return listAttach;
	}


	public void setListAttach(String listAttach) {
		this.listAttach = listAttach;
	}


	public String getEducation_id() {
		return education_id;
	}

	public void setEducation_id(String education_id) {
		this.education_id = education_id;
	}

	public String getEducation_name() {
		return education_name;
	}

	public void setEducation_name(String education_name) {
		this.education_name = education_name;
	}

	public String getEducation_flag() {
		return education_flag;
	}

	public void setEducation_flag(String education_flag) {
		this.education_flag = education_flag;
	}

	public String getDept_id_send() {
		return dept_id_send;
	}

	public void setDept_id_send(String dept_id_send) {
		this.dept_id_send = dept_id_send;
	}

	public String getDate_b() {
		return date_b;
	}

	public void setDate_b(String date_b) {
		this.date_b = date_b;
	}

	public String getDate_e() {
		return date_e;
	}

	public void setDate_e(String date_e) {
		this.date_e = date_e;
	}

	public String getEducation_des() {
		return education_des;
	}

	public void setEducation_des(String education_des) {
		this.education_des = education_des;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	

}
